export default async function initState() {
  let initialState;
  try {
    // 假设这是请求初始数据
    initialState = await new Promise((resolve) => {
      setTimeout(() => {
        resolve({
          home: {
            msg: 'this is home',
          },
        });
      }, 2000);
    });
  } catch (e) {
    return;
  }
  return initialState;
}
